package org.com.money.componet;

import java.io.File;
import java.util.Map;

import org.com.money.service.MoneyException;

/**
 * 
 * @author Andy
 *
 */
public interface PropertiesComponet {

	/**
	 * 寫xml
	 * 
	 * @param map
	 * @throws MoneyException
	 */
	void writeXml(final Map<String, String> map, String outputfilePath)
			throws MoneyException;

	/**
	 * 寫 xml檔案
	 * 
	 * @param map
	 * @param outputfilePath
	 * @throws MoneyException
	 */
	void wirteProperties(final Map<String, String> map, String outputfilePath)
			throws MoneyException;

	/**
	 * 
	 * @param f
	 * @return
	 * @throws MoneyException
	 */
	Map<String, Object> outputfilePath(final File f) throws MoneyException;
	
	/**
	 * 
	 * @param f
	 * @return
	 * @throws MoneyException
	 */
	Map<String, Object> outputfilePath(final String f) throws MoneyException;

}
